package com.yantong.constant;

/**
 * 微信消息类型
 */
public enum WxMessageType {

    MESSAGE_TYPE_TEXT("text", "文本消息"),
    MESSAGE_TYPE_NEWS("news", "图文消息"),
    MESSAGE_TYPE_TEMPLATE("template", "模版消息"),
    ;

    private String type;
    private String desc;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    WxMessageType(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }
}
